load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "rpcserver",
    srcs = ["rpcserver.go"],
    importpath = "go.f110.dev/heimdallr/pkg/cmd/rpcserver",
    visibility = ["//visibility:public"],
    deps = [
        "//pkg/auth",
        "//pkg/cert",
        "//pkg/config/configutil",
        "//pkg/config/configv2",
        "//pkg/database",
        "//pkg/database/etcd",
        "//pkg/database/mysql",
        "//pkg/database/mysql/dao",
        "//pkg/database/mysql/entity",
        "//pkg/fsm",
        "//pkg/logger",
        "//pkg/rpc/rpcserver",
        "//vendor/github.com/hashicorp/vault/api",
        "//vendor/go.etcd.io/etcd/client/v3:client",
        "//vendor/go.f110.dev/protoc-ddl/probe",
        "//vendor/golang.org/x/xerrors",
        "//vendor/google.golang.org/grpc",
        "//vendor/google.golang.org/grpc/connectivity",
    ],
)
